<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .container {
        background-color: aqua;
        padding: 20px 0;
      }
      .container::after {
        content: "";
        display: block;
        clear: both;
      }
      .title {
        font-size: 16px;
        font-weight: normal;
        float: left;
        margin: 0;
        margin-left: 20px;
        margin-top: 5px;
        padding-right: 30px;
        border-right: 2px solid #ccc;
      }
      .list {
        float: left;
        margin: 0;
        list-style: none;
        padding: 0;
        height: 30px;
        overflow: hidden;
        margin-left: 30px;
      }
      .list li {
        height: 30px;
        line-height: 30px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1 class="title">最新公告</h1>
      <ul class="list">
        <li>Lorem ipsum dolor sit.</li>
        <li>Laboriosam assumenda omnis soluta!</li>
        <li>Explicabo, quos cumque! Unde.</li>
        <li>Itaque, iste dolor. Voluptatem!</li>
      </ul>
    </div>

    <script src="./index.js"></script>
  </body>
</html>
